

/**
 * @author Alexander Biggs
 *
 */

/**Interface for a storage system; i.e. stack, queue */
public interface Storage {
	
	/**The current size of the storage system */
	public int size();
	
	/**Whether or not the storage is empty. */
	public boolean isEmpty();
	
	/**Returns the next item.*/
	public Object peek();
	
	/**Removes and returns the next item in the storage system.*/
	public Object pop();
	
	/**Pushes an object into the storage.*/
	public void push(Object item);
}
